package com.ouli.crowd.service.api;

import com.github.pagehelper.PageInfo;
import com.ouli.crowd.entity.Role;

import java.util.List;


public interface RoleService {

    PageInfo<Role> getPageInfo(String keyword,Integer pageNum,Integer pageSize);

    void deleteById(Integer roleId);

    void saveRole(Role role);

    Role selectById(int roleId);

    void updateById(Role role);

    void deleteByIds(int[] arrays);
    List<Role> selectByIds(int[] ids);
}
